<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h1{
            width: 300px;
            height: 200px;
            background-color: orange;
            text-align: center;
            box-sizing: content-box;
            border: 50px solid brown;
            margin:50px;
            font-size: 70;
            color: black;
   }
    </style>
</head>
<body>
</body>
<script>
    document.write("<h1>努力学习JS</h1>")
</script>  
</html>